]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
keyboard: Close keyboard immediately on Clutter.InputPanelState.OFF
authorCarlos Garnacho <carlosg@gnome.org>
Sat, 27 Jan 2024 13:26:05 +0000 (14:26 +0100)
committerCarlos Garnacho <carlosg@gnome.org>
Thu, 29 Feb 2024 15:42:22 +0000 (16:42 +0100)
This is already covered by a timeout to handle focus transitions between
windows at the Clutter.InputMethod implementation, we can react immediately
and avoid chaining up timeouts.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3162>

js/ui/keyboard.js

index 4ce21976cc0e4759bf72825df131b03e8be63ed8..1dc369ff1a511b81fff640cbc0eb80a90979257e 100644 (file)
@@ -1644,7 +1644,7 @@ export const Keyboard = GObject.registerClass({
         if (enabled)
             this.open(Main.layoutManager.focusIndex);
         else
-            this.close();
+            this.close(true);
     }
 
     _setActiveLevel(activeLevel) {